<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php 
			/**
			 * Print for Pages controller page title or from Cms component
			 */
			echo (empty($title_for_layout_cms))?$title_for_layout:$title_for_layout_cms; 
		?>
	</title>
	
	<meta name="Author" content="Sylwester Kowal"/>
	<meta name="Copyright" content="21w.pl"/>
	<meta name="Language" content="<?php echo Configure::read('Config.language');?>" />	
	<?php
		echo $this->Html->meta('icon');echo "\n";
		echo $this->Html->meta('keywords', $keywords_for_layout_cms." 21w, sidf, strony dla firm");echo "\n";
		echo $this->Html->meta('description', $description_for_layout_cms." 21w, sidf, strony dla firm");echo "\n";
	?>	
	<?php echo $this->Html->script(
		array(
			'jquery-1.4.2.min'
			,'jquery-ui-1.8.5.custom.min'
			,'jquery.cloud-carousel.1.0.4'
			,'jquery.dropdown'
			,'prettyPhoto/js/jquery.prettyPhoto'
			,'c_addon_position_fixed'
		)); 
	?>
	<!--[if IE 6]>
	<script src="js/pngIEfix.js" type="text/javascript"></script>
	<script>DD_belatedPNG.fix('.ie6fix');</script>
	<![endif]-->

	
	<?php 
		echo $this->Html->css(array(
			HOST.'/style.'.HOST
			,'ui-lightness/jquery-ui-1.8.5.custom'
			,HOST.'/menu/dropdown'
			,HOST.'/menu/default.advanced'
			,'prettyPhoto/css/prettyPhoto.css'
		));
		echo $scripts_for_layout;
	?>

</head>
<body>


<div class="main">
	<div class="header">
		<div class="logo">
			<a href="./"><?php echo $html->image(HOST."/logo-sidf.png")?></a>
		</div>
		<?php echo $this->element('main_menu');?>
		<div class="clr"></div>
	</div>
	<div class="clr"></div>
	<?php echo $this->Session->flash(); ?>
	<?php 
	echo $session->flash();
	echo $session->flash('auth');
	echo $session->flash('email');
	?>
	<?php echo $content_for_layout;?>	
</div>
<div class="clr"></div>
<div class="clr"></div>
<div class="footer">
	<div class="footer_resize">
		<p class="leftt">© Copyright <a href="http://www.21w.pl">21w.pl</a>. All Rights Reserved</p>
		<p class="rightt"><a href="http://www.sidf.pl"><?php echo $html->image(HOST."/logo-smal-sidf.png")?></a></p>
		<div class="clr"></div>
	</div>
</div>
<?php echo $this->element('sql_dump');?>
<?php echo $this->Js->writeBuffer();?>
</body>
</html>